package entity;

import javax.persistence.*;
import java.util.Date;

@Entity
@Table(name = "tb_litigation_borrower_detailed")
public class LitigationBorrowerDetailed {
    /**
     * id
     */
	@Column(name ="id")
	private String id;
    /**
     * 业务编号
     */
	@Column(name ="business_id")
	private String businessId;
    /**
     * 身份证号
     */
	@Column(name ="identify_card")
	private String identifyCard;
    /**
     * 名称
     */
	@Column(name ="name")
	private String name;
    /**
     * 借款人类型  0个人  1企业
     */
	@Column(name ="borrower_type")
	private Integer borrowerType;
    /**
     * 1主借款人、2共借人 3担保人 4反担保人 5出借人
     */
	@Column(name ="type")
	private Integer type;
    /**
     * 创建人
     */
	@Column(name ="create_user")
	private String createUser;
    /**
     * 创建时间
     */
	@Column(name ="create_time")
	private Date createTime;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBusinessId() {
		return businessId;
	}

	public void setBusinessId(String businessId) {
		this.businessId = businessId;
	}

	public String getIdentifyCard() {
		return identifyCard;
	}

	public void setIdentifyCard(String identifyCard) {
		this.identifyCard = identifyCard;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getBorrowerType() {
		return borrowerType;
	}

	public void setBorrowerType(Integer borrowerType) {
		this.borrowerType = borrowerType;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
}
